﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace RestFullChatAJAX.Models
{
    public class Account
    {
        private String _userName = String.Empty;

        public String Username
        {
            get { return _userName; }
            set { _userName = value; }
        }

        private String _passWord = String.Empty;

        public String PassWord
        {
            get { return _passWord; }
            set { _passWord = value; }
        }

        private String _email = String.Empty;

        public String Email
        {
            get { return _email; }
            set { _email = value; }
        }

        private String _friend = String.Empty;

        public String Friend
        {
            get { return _friend; }
            set { _friend = value; }
        }

        private bool _state = false;

        public bool State
        {
            get { return _state; }
            set { _state = value; }
        }

        public Account()
        { 
        }

        public Account(String username, String email, string password)
        {
            _userName = username;
            _email = email;
            _passWord = password;
        }
    }
}